package oo.day02;
//应用类型数组的演示
public class RefArrayDemo {

	public static void main(String[] args) {
		/*Cell[] cells = new Cell[4];
		cells[0] = new Cell(1,5);
		cells[1] = new Cell(2,6);
		cells[2] = new Cell(3,7);
		cells[4] = new Cell(4,8);*/
		
//		Cell[] cells = new Cell[] {new Cell(1,5),new Cell(2,6),new Cell(3,7),new Cell(4,8)};
		
		/*int[][] arrs = new int[3][];
		arrs[0] = new int[2];
		arrs[1] = new int[3];
		arrs[2] = new int[2];
		arrs[1][2] = 100;*/
		
		/*int[][] arrs = new int[3][4];
		for(int i = 0; i < arrs.length;i++) {
			for(int j = 0; j < arrs[i].length; j++) {
				arrs[i][j] = 100;
			}
		}*/
	}

}
